package com.ruoyi.common.core.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 评论等级列数据传输
 *
 * @author KevenPotter
 * @date 2024-04-30 14:00:02
 */
@Data
@Accessors(chain = true)
public class LevelCommentDto {

    /*评论等级*/
    private Integer level;
    /*评论用户编号*/
    private Long fromUserId;
    /*评论用户手机号码*/
    private String fromUserMobile;
    /*评论用户名称*/
    private String fromUserName;
    /*评论用户头像*/
    private String fromUserAvatar;
    /*被评论用户编号*/
    private Long toUserId;
    /*被评论用户手机号码*/
    private String toUserMobile;
    /*被评论用户名称*/
    private String toUserName;
    /*被评论用户头像*/
    private String toUserAvatar;
    /*评论编号*/
    private Long commentId;
    /*评论内容*/
    private String comment;
    /*评论图片*/
    private String commentImage;
    /*评论图片列表*/
    private List<String> commentImageList;
    /*添加时间*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    /*评论回复*/
    private List<LevelCommentDto> commentReply = new ArrayList<>();
}
